/**
 * 蒙版浮层--显示
 */
const showLoding = (title) => {
    wx.showLoading({
        title: title,
        mask: true,
    })
}

/**
 * 蒙版浮层--隐藏
 */
const hideLoading = () => {
    wx.hideLoading()
}

/**
 * 蒙版浮层--提示
 */
const showToast = (title) => {
    wx.showToast({
        title: title,
        icon: 'none',
        duration: 2000,
        mask: true
    })
}


module.exports = {
    showLoding,
    hideLoading,
    showToast
}
